package com.xh.model.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class Tuple3<T1, T2, T3> {
    public T1 _1;
    public T2 _2;
    public T3 _3;

    public Tuple3() {
    }

    public static <T1, T2, T3> Tuple3<T1, T2, T3> of(T1 _1, T2 _2, T3 _3) {
        Tuple3<T1, T2, T3> t = new Tuple3<>();
        t._1 = _1;
        t._2 = _2;
        t._3 = _3;
        return t;
    }
}
